docs: comprehensive docstring updates for JointLimiterInterface - #3412
docs: comprehensive docstring updates for JointLimiterInterface#3412Rudyy75 wants to merge 11 commits into
Conversation
|
|
||
| /** | ||
| * Wrapper init method that accepts the joint names and their limits directly | ||
| * @brief Initialize joints from directly provided names, limits, and soft joint limits. |
There was a problem hiding this comment.
Please add a detailed overview of the parameters and also for the other parts of the codebase
There was a problem hiding this comment.
Updated the docstring with @param entries for all parameters and checked the rest of the codebase for similar issues.
|
This pull request is in conflict. Could you fix it @Rudyy75? |
…x/jointlimiter-init-docstring
There was a problem hiding this comment.
Pull request overview
Updates Doxygen documentation for joint_limits::JointLimiterInterface init/configure APIs to better reflect the actual parameters and return values, addressing the mismatch called out in issue #3410.
Changes:
- Add missing
@returndocumentation for the primaryinit(...)overload. - Update the
init(...)overload docstring to explicitly includesoft_joint_limitsand document its parameters/return. - Expand Doxygen docs for
init(...)node/lifecycle-node overloads and add brief docs forconfigure(...)andreset_internals().
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3412 +/- ##
=======================================
Coverage 89.56% 89.56%
=======================================
Files 168 168
Lines 21419 21419
Branches 1662 1662
=======================================
Hits 19184 19184
Misses 1533 1533
Partials 702 702
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
…into fix/jointlimiter-init-docstring
|
I have resolved the merge conflicts and updated all the docstrings with @param and @return descriptions as requested. Let me know if anything else is needed. |
|
Hey @saikishor, I have resolved all the threads and updated the docstrings as requested. Christoph has also approved. Could you take a look and approve? |
|
Hey @saikishor, I've updated the PR title and description to match the expanded documentation scope you requested. Ready for your final look. |
Description
Initially addresses #3410 by updating the
@brieffor theinitoverload that acceptssoft_joint_limits.Per maintainer feedback, expanded the scope to unify, standardize, and complete the Doxygen docstrings (
@param,@return) across the rest of theJointLimiterInterfaceAPIs.Fixes #3410
Related to #3391
Is this user-facing behavior change?
Did you use Generative AI?
Yes, Claude Sonnet 4.6
Additional Information
TODOs
To send us a pull request, please:
colcon testandpre-commit run(requires you to install pre-commit bypip3 install pre-commit)